Implement the [patch] section of the manifest
authorAlex Crichton <alex@alexcrichton.com>
Fri, 12 May 2017 18:07:46 +0000 (11:07 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 18 Jul 2017 16:45:30 +0000 (09:45 -0700)
commit61a3c68b3f08e8d2ea83347ce2c55ca64496c08e
treed2aadcebaf113ef2a3576cef0f2eb1a5f9a68164
parent74e54214c9d13871934fde0ecb07250e523c4e92
Implement the [patch] section of the manifest

This is an implementation of [RFC 1969] which adds a new section to top-level
manifests: `[patch]`. This section allows you to patch existing sources with
new versions of crates, possibly replacing the versions that already exist in
the source. More details about this feature can be found in the RFC itself.

[RFC 1969]: https://github.com/rust-lang/rfcs/pull/1969
14 files changed:
src/cargo/core/dependency.rs
src/cargo/core/manifest.rs
src/cargo/core/registry.rs
src/cargo/core/resolver/encode.rs
src/cargo/core/resolver/mod.rs
src/cargo/core/workspace.rs
src/cargo/ops/lockfile.rs
src/cargo/ops/registry.rs
src/cargo/ops/resolve.rs
src/cargo/util/toml/mod.rs
src/doc/manifest.md
src/doc/specifying-dependencies.md
tests/cargotest/support/mod.rs
tests/patch.rs [new file with mode: 0644]